package com.buer.storage.business.service;

import com.buer.storage.business.domain.UserEntity;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 用户表
 * @date 2021-01-14 16:58:54
 */
public interface UserEntityService {
	
	UserEntity get(Integer userId);
	
	List<UserEntity> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserEntity entity);
	
	int update(UserEntity entity);
	
	int remove(Integer userId);
	
	int batchRemove(Integer[] userIds);

    PageInfo<UserEntity> getEntityList(Map<String, Object> map);

	UserEntity getOne(Map<String, Object> map);
}
